package guo.pojo.impl;

import guo.pojo.UserService;
import org.springframework.stereotype.Component;

@Component
public class UserImpl implements UserService {


    @Override
    public Integer add(int i, int j) {
        System.out.println("方法执行");
        return i+j;
    }

    @Override
    public Integer del(int i, int j) {
        System.out.println("方法执行");
        return i-j;
    }

    @Override
    public Integer multiply(int i, int j) {
        System.out.println("方法执行");
        return i*j;
    }

    @Override
    public Integer div(int i, int j) {
        System.out.println("方法执行");
        return i/j;
    }
}
